projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8cce1e
)
[XEND] Hide other_config from console and vfb SXP to prevent string
author
Alastair Tse
<atse@xensource.com>
Wed, 31 Jan 2007 15:02:20 +0000
(15:02 +0000)
committer
Alastair Tse
<atse@xensource.com>
Wed, 31 Jan 2007 15:02:20 +0000
(15:02 +0000)
representation of dict to appear in SXP.
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendConfig.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendConfig.py
b/tools/python/xen/xend/XendConfig.py
index f17a5a229564d2e6cc5565656ae3ba9ec41d52a2..a3c5398b49080e837c1a015be063e1af34b3ac70 100644
(file)
--- a/
tools/python/xen/xend/XendConfig.py
+++ b/
tools/python/xen/xend/XendConfig.py
@@
-1223,7
+1223,12
@@
class XendConfig(dict):
"configuration dictionary.")
sxpr.append(dev_type)
- config = [(opt, val) for opt, val in dev_info.items()]
+ if dev_type in ('console', 'vfb'):
+ config = [(opt, val) for opt, val in dev_info.items()
+ if opt != 'other_config']
+ else:
+ config = [(opt, val) for opt, val in dev_info.items()]
+
sxpr += config
return sxpr